package com.rzjm.exercise.sys.core.job.service;


import com.rzjm.exercise.common.base.service.BaseService;
import com.rzjm.exercise.sys.core.job.domain.TaskDO;
import org.quartz.SchedulerException;


/**
 * 
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2017-09-26 20:53:48
 */
public interface JobService extends BaseService<TaskDO> {
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

	void initSchedule() throws SchedulerException;

	void changeStatus(Long jobId, String cmd) throws SchedulerException;
}
